/**
 * 
 */

package com.applabs.mydiary.core;

import java.util.List;

/**
 * @author praveenthota
 */
public interface IPersister {

    public boolean initialize();

    public boolean addEvent(DiaryEvent event);

    public boolean delEvent(DiaryEvent event);

    public boolean updateEvent(DiaryEvent event);

    public List<DiaryEvent> getAllEvents();

    public boolean deinitialize();

}
